package com.micro.modual.service;

import com.micro.core.frame.service.BasicsService;
import com.micro.core.resp.RespJson;
import com.micro.modual.entity.AppointmentRecord;
import com.micro.modual.model.bo.appointmentrecord.AppointmentRecordBO;


/**
*  <h1>预约记录表 接口</h1>
 * @author LevelCoder
 * @version V1.0.0
 * @email LevelCoder@126.com
 * @date 2020-08-04 00:11:10
 */
public interface AppointmentRecordService extends BasicsService<AppointmentRecord,Long>{

    /**
     * <h2>新增预约记录表详情</h2>
     * @param appointmentRecordBO {@link AppointmentRecordBO} 预约记录表 新增/修改 请求对象
     * @return {@link RespJson} 返回结果基础类
     */
    RespJson addAppointmentRecord(AppointmentRecordBO appointmentRecordBO);

    /**
     * <h2>修改预约记录表详情</h2>
     * @param appointmentRecordBO  {@link AppointmentRecordBO} 预约记录表 新增/修改 请求对象
     * @return {@link RespJson} 返回结果基础类
     */
    RespJson editAppointmentRecord(AppointmentRecordBO appointmentRecordBO);

    /**
     * <h2>根据主键编号删除预约记录表信息</h2>
     * @param id  预约记录表 主键编号
     * @return  {@link RespJson} 返回结果基础类
     */
    RespJson deleteAppointmentRecord(Long id);
}
